package com.fancy.learncenter.ui.adapter;

import android.content.Context;
import android.widget.TextView;

import com.fancy.learncenter.R;
import com.fancy.learncenter.bean.CategoryDataBean;
import com.fancy.learncenter.ui.adapter.base.CommonRecycleViewAdapter;
import com.fancy.learncenter.ui.adapter.base.CustomViewHold;

import java.util.List;

/**
 * Created by Hyy on 2017/1/10.
 */

public abstract class CategoryAdapter extends CommonRecycleViewAdapter<CategoryDataBean> {
    public List<CategoryDataBean> itemDatas;

    public CategoryAdapter(Context mContext, List<CategoryDataBean> itemDatas) {
        super(mContext, R.layout.activity_category_item, itemDatas);

        this.itemDatas = itemDatas;
    }

    public List<CategoryDataBean> getItemDatas() {
        return itemDatas;
    }

    public CategoryAdapter getAdapter() {
        return this;
    }
}
